/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @file  Fee_Cfg.c
 * @brief Semidrive. AUTOSAR 4.3.1 MCAL Flash EEPROM Emulation
 * @date 2025-03-25 19:03:22
 */

#ifdef __cplusplus
extern "C"{
#endif

#include "Fee.h"

#define FEE_START_SEC_CONST_UNSPECIFIED
#include "Fee_MemMap.h"

/* Configuration of page FeePageDevice_0 */
const Fee_PageType FeePageDevice_0[FEE_PAGE_CFG_NUMBER] =
{
    /* FeePage0 */
    {
        0U,           /* Fee Page0 area start addr */
        4096U,           /* Fee Page0 area size */
        4096U,      /* Fee Page0 each erase size */
        4096U      /* Fee Page0 sector size */
    },
    /* FeePage1 */
    {
        4096U,           /* Fee Page1 area start addr */
        4096U,           /* Fee Page1 area size */
        4096U,      /* Fee Page1 each erase size */
        4096U      /* Fee Page1 sector size */
    }
};

/* Configuration of page device set */
const Fee_PageDeviceType Fee_PageDevice[FEE_PAGE_DEV_NUMBER] =
{
    /* FeePageDevice_0 */
    {
        FeePageDevice_0, /* page set */
        512U/* Size of the reserved area */
    }
};

/* Configuration of Fee blocks */
const Fee_BlockConfigType Fee_BlockConfig[FEE_BLOCKS_CFG_NUMBER] =
{
    /* FeeBlockConfiguration_0 */
    {
        FeeBlockConfiguration_0, /* FeeBlockNumber symbol */
        32U, /* FeeBlockSize */
        0U, /* FeePageDevice */
        (boolean)FALSE    },
    /* FeeBlockConfiguration_1 */
    {
        FeeBlockConfiguration_1, /* FeeBlockNumber symbol */
        32U, /* FeeBlockSize */
        0U, /* FeePageDevice */
        (boolean)FALSE    },
    /* FeeBlockConfiguration_2 */
    {
        FeeBlockConfiguration_2, /* FeeBlockNumber symbol */
        32U, /* FeeBlockSize */
        0U, /* FeePageDevice */
        (boolean)FALSE    },
    /* FeeBlockConfiguration_3 */
    {
        FeeBlockConfiguration_3, /* FeeBlockNumber symbol */
        32U, /* FeeBlockSize */
        0U, /* FeePageDevice */
        (boolean)TRUE    },
    /* FeeBlockConfiguration_4 */
    {
        FeeBlockConfiguration_4, /* FeeBlockNumber symbol */
        512U, /* FeeBlockSize */
        0U, /* FeePageDevice */
        (boolean)FALSE    }
};

#define FEE_STOP_SEC_CONST_UNSPECIFIED
#include "Fee_MemMap.h"

#ifdef __cplusplus
}
#endif
/** @}*/
